package com.android.mvp.base;

import android.view.View;

import com.android.mvp.R;
import com.android.mvp.bean.HomeBanner;
import com.android.mvp.presenter.HomePresenter;
import com.android.mvp.presenter.contract.HomeContract;

import java.util.List;

/**
 * desc
 *
 * @autor 徐文龙
 * @time 2016/9/12  13:35
 */
public class DemoActivity extends BaseActivity<HomePresenter, List<HomeBanner>> implements HomeContract.View {


    @Override
    public int getLayoutId() {
        return R.layout.activity_main;
    }

    @Override
    protected void initToolbar() {

    }

    @Override
    protected void initView() {
        showNetErrorView();
        showEmptyView("没有更多东西了");
    }

    @Override
    protected void initData() {

    }

    @Override
    public void onReload() {
        super.onReload();
    }

    @Override
    public View getLoadingTargetView() {
        return super.getLoadingTargetView();
    }
}
